﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace KATS_Client.FileNameData
{
    /// <summary>
    /// A prediction result
    /// </summary>
    public class PredictionResult
    {
        /// <summary>
        /// Directory 
        /// </summary>
        public Client.FileSystemObject Directory = null;

        /// <summary>
        /// The name displayed to the user in the context menu
        /// </summary>
        public string Name = string.Empty;

        /// <summary>
        /// Percentage accuracy
        /// </summary>
        public int PercentageSimilarity = 0;

        /// <summary>
        /// Make an result
        /// </summary>
        /// <param name="directory">The directory</param>
        /// <param name="percentageAccuracy">Percentage Accuracy</param>
        public PredictionResult(Client.FileSystemObject directory, string name, int percentageAccuracy)
        {
            this.Directory = directory;
            this.Name = name;
            this.PercentageSimilarity = percentageAccuracy;
        }
    }
}
